<?php
	require_once('../class/signup.class.php');
	$signup = new Signup();
	$response=$signup->loginUser($_POST['it_text_email'], $_POST['it_password_password']);
	if($response!=false)
		header('Location: thread.php');
		//echo 'welcome';
	else
//		header('Location: ../signin.html?login=false');
		echo 'failed';
?>